//
//  BaseHttpClient.h
//  NetworkingSevers
//
//  Created by WorkSpace on 4/1/14.
//
//


//@class BaseHttpClient;
//@protocol BaseHttpClientDelegate<NSObject>
//-(void)BaseHttpClient:(BaseHttpClient *)client WithPath:(NSString *)path didUpdateWithData:(id)operationdata;
//-(void)BaseHttpClient:(BaseHttpClient *)client WithPath:(NSString *)path didFailWithError:(NSError *)error;
//@end


#import "AFNetworking.h"
#import "AFHTTPClient.h"
#import "ProgressHUD.h"
@interface BaseHttpClient : AFHTTPClient


+ (BaseHttpClient*)sharedBaseHttpClientUrl:(NSString*)url;


-(void)postDataWithPath:(NSString *)path  withAction:(NSString *)actionName WithParameters:(NSDictionary *)parameters block:(void(^)(id json))processResult failblock:(void(^)(NSError *error))failresult;

@end
